<?php

namespace App\Enum;

class WithdrawEnum
{

    /**
     * 状态
     */
    const WAITCONFIRM = 1; // 待审核
    const SUCCESS = 2; // 成功
    const REJECT = 3; // 驳回
    const REMITING = 4; // 打款中




    public static $stateMessage = [
        self::WAITCONFIRM => '待审核',
        self::SUCCESS => '成功',
        self::REJECT => '驳回',
        self::REMITING => '打款中'
    ];


    public static function stateMessage($state)
    {
        return self::$stateMessage[$state];
    }

}